<%-- 
    Document   : reportQuestion
    Created on : Aug 25, 2011, 11:40:46 PM
    Author     : s4201567 Tony Yu
--%>
<style type="text/css">
    .errors { color: red; }
    
    #report-form {
        padding-left:240px;
        width:auto;
    }
</style>

<%@ include file="../header.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <div id="content-container1">
        <div id="content">
            <h3>Result By Question</h3>
            <!-- Content goes here -->
            <div id="report-form">
                <form:form method="post" commandName="reportQuestion">
                  <table bgcolor="f8f8ff" border="0" cellspacing="0" cellpadding="5">
                    <tr>
                        <td>Entity Hierarchy</td>
                        <td>
                            <form:input path="entity"/>
                        </td>
                        <td>
                            <form:errors path="entity" cssClass="errors"/>
                        </td>
                    </tr>
                  </table>
                  <br>
                  <input type="submit" align="center" value="Submit">
                  <input type="reset" value="Reset" name="reset"><br/><br/>
                  <form>
                    <input type="button" onClick="window.location.href='reports.html'" value="Back"/>
                  </form>
                </form:form>
            </div>
        </div>	
<%@ include file="../footer.jsp" %>
